<script setup lang="ts">
import FetchNotice from "@/components/FetchNotice";
</script>

<template>
  <ZNotificationProvider position="top-20 right-0">
    <FetchNotice />
    <RouterView #="{ Component }">
      <KeepAlive>
        <component :is="Component" />
      </KeepAlive>
    </RouterView>
  </ZNotificationProvider>
</template>

<style>
.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.vue:hover {
  filter: drop-shadow(0 0 2em #42b883aa);
}

a[aria-current="page"] {
  background-color: oklch(var(--p));
  color: oklch(var(--pc));
}
</style>
